import java.util.Scanner;
import java.io.*;
public class Doctor {
    String name;
    String specialization;//chuyen mon
    int hours;//so gio lam viec /ngay
    /*Create a new instance of Doctor*/
    public Doctor(){}
    public void setName(String name) {
        this.name = name;
    }
    public void setHours(int hours) {
        this.hours = hours;
    }
    public String getSpecialization() {
        return specialization;
    }
    public Doctor(String name, String specialization, int hours) {
        this.name = name;
        this.specialization = specialization;
        this.hours = hours;
    }
    public void setSpecialization(String specialization) {
        this.specialization = specialization;
    }
    public void input()
    {
        Scanner sc=new Scanner(System.in);
        System.out.print("\nName :");
        name=sc.next();
        System.out.print("Specialization :");
        specialization=sc.next();
        System.out.print("Hours :");
        hours=sc.nextInt();
    }
    public void output()
    {
        System.out.format("\n\t%-10s%-10s%10d\n",name,specialization,hours);
    }
}
